package part2;

// B这个类实现五个方法
public class D implements Interface {
    @Override
    public void operation1() {
        System.out.println("D类方法1");
    }

    @Override
    public void operation2() {
        System.out.println("D类方法2");
    }

    @Override
    public void operation3() {
        System.out.println("D类方法3");
    }

    @Override
    public void operation4() {
        System.out.println("D类方法4");
    }

    @Override
    public void operation5() {
        System.out.println("D类方法5");
    }
}
